package org.bing.zion;

import java.util.Date;

import org.bing.zion.core.Connector;
import org.bing.zion.filter.logging.LoggingFilter;

public class ZionConnector {

    public static void main(String[] args) throws InterruptedException {
        Connector conn = new Connector("localhost", 9090);
        conn.addProtocolFilter(new LoggingFilter());
        Thread thread = new Thread(conn);
        thread.setDaemon(true);
        thread.start();
        // conn.write(new Date());
        Thread.sleep(12345789);
    }
}
